<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>视频播放</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="description" content="This is my page">
	
	<!--//webfonts-->
	<script src="<%=basePath%>js/jquery-3.2.1.min.js"></script>
	
  </head>
      
  <body>
 <script type="text/javascript">
  var id='${id}';
  var html= '<video width="640" height="480" controls="controls" autoplay="autoplay">'
  +'<source src="filetransfer/paly.html?id='+id+'" type="video/mp4" />'
  +'<source src="filetransfer/paly.html?id='+id+'" type="video/ogg" />'
  +'<source src="filetransfer/paly.html?id='+id+'" type="video/webm" />'
  +'<object src="filetransfer/paly.html?id='+id+'" width="640" height="480">'
  +'<embed src="filetransfer/paly.html?id='+id+'" width="640" height="480" />'
  +'</object>'
  +'</video>';
$('body').html(html);
  </script> 
  
  </body>
  
</html>
